/**
 * 版权所有(C) COVISINT 2015-2025
 * Copyright 2015-2025 COVISINT
 * 创建日期：Jul 5, 20174:12:10 PM
 * 创建人：yyang
 */
package com.wechat.framework.utils;

public class WechatURLUtils {
	
	/**
	 * 获取access_token的接口地址(GET)   
	 */
	public final static String ACCESS_TOKEN_URL = "https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=CorpID&corpsecret=SECRET";  
	
	/**
	 * 根据CODE获取成员信息URL
	 */
	public static final String GET_OAUTH2_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/getuserinfo?access_token=ACCESS_TOKEN&code=CODE";//&agentid=AGENTID
	
	/**
	 * 获取redirect的URL
	 */
	public static final String GET_REDIRECT_URL = "https://SERVERNAME/SupplyMobile/oauth2Controller/oauth2url?oauth2url=RESULTURL";
	
	/**
	 * 获取CODE的URL
	 */
	public static final String GET_OAUTH2_CODE = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=CORPID&redirect_uri=REDIRECT_URI&response_type=code&scope=snsapi_base&agentid=14&state=sunlight#wechat_redirect";
	
	/**
	 * 获取临时素材文件
	 */
	public static final String GET_MSG_URL = "https://qyapi.weixin.qq.com/cgi-bin/media/get?access_token=ACCESS_TOKEN&media_id=MEDIA_ID";
	
	/**
	 * 上传临时素材文件
	 */
	public static final String UPLOAD_MSG_URL = "https://qyapi.weixin.qq.com/cgi-bin/media/upload?access_token=ACCESS_TOKEN&type=TYPE";
	
	/**
	 * 发送消息接口,应用支持推送文本、图片、视频、文件、图文等类型。
	 */
	public static final String SEND_MESSAGE_URL = "https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=ACCESS_TOKEN";
	
	//微信企业号CORP ID
	public static final String WECHAT_CORPID = "wxd138c37041b4fb0d";
	
	//微信企业号应用ID
	public static final String APP01_AGENTID = "1"; 
	public static final String APP14_AGENTID = "1"; 
	
	
	//微信企业号TOKEN
	public static final String WECHAT_TOKEN = "COVISINTcPzsUSio3ncpRgc8C";	//SupplyMobile01DLOA1yqk5thlB6G3ww
	
	//微信企业号ENCODINGAESKEY
	public static final String WECHAT_ENCODINGAESKEY = "FkvDz322kEVcfQh62qqwqm1iibH9UelaghCsYtv2i4M";//oXvzQhepcI3Mqa37CJza4c4CLhYqJ9hjxhmUyGkTyu2
	
	//微信企业号开发者凭据
	//public static final String WECHAT_SECRET = "7zYNh0SOblNxfqTkc78FimpORJwr1m0Wv5lkDXg0Ezu0MDVJjBFTzKr0-lEZSdnN";
	
	public static final String WECHAT_SECRET = "IasNvoRWtoNF5qadc6CENbzOoICK6-MvxnMZe-vofzI";
	
}
